package com.zhengqing.design.structure.decorator._01.decorator;

import com.zhengqing.design.structure.decorator._01.Person;

/**
 * <p> 具体装饰 </p>
 *
 * @author zhengqingya
 * @description
 * @date 2022/12/15 13:36
 */
public class BikeDecorator extends AbstractPersonDecorator {

    public BikeDecorator(Person person) {
        super(person);
    }

    @Override
    public void run() {
        super.person.run();
        System.err.println("骑自行车...");
    }
}
